package com.okami.domain.school;

import com.okami.common.AbstractEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import javax.persistence.ManyToMany;
import javax.persistence.Table;
import java.util.Set;

/**
 * @author: TanJingyu
 * @create: 2020-12-19 15:09
 **/
@EqualsAndHashCode(callSuper = true)
@Entity
@Table
@Data
@Accessors(chain = true)
public class Course extends AbstractEntity<Long> {
    private String type;

//    @ManyToMany(mappedBy = "courses")
//    private Set<Student> students;
}
